home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbcmdrow.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                 DBCMDROW
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  DBCMDROW
  6.  
  7.   FUNCTION:
  8.        Determine whether the current command can return rows.
  9.  
  10.   SYNTAX:
  11.        RETCODE DBCMDROW(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o This macro  determines  whether  the  command  currently  being
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   DBCMDROW                Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          processed by dbresults() is one that can return rows,  i.e.,  a
  27.          Transact-SQL  SELECT  statement  or an EXECUTE on a stored pro-
  28.          cedure containing a SELECT.  The application can call it  after
  29.          dbresults() returns SUCCEED.
  30.  
  31.        o Even if this macro returns SUCCEED, the command does not return
  32.          any rows if none have qualified.  To determine whether any rows
  33.          are actually being returned, use DBROWS().
  34.  
  35.   PARAMETERS:
  36.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  37.            connection for a particular front-end/SQL Server process.  It
  38.            contains all the information that DB-Library uses  to  manage
  39.            communications and data between the front end and SQL Server.
  40.  
  41.   RETURNS:
  42.        SUCCEED or FAIL, to indicate whether the command can return rows.
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                 DBCMDROW
  47.   ______________________________________________________________________
  48.  
  49.   SEE ALSO:
  50.        dbnextrow, dbresults, DBROWS, DBROWTYPE
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.